package entity.maintenance;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 创建计划时根据计划中所需保养项目在表中添加。执行保养任务时的保养项目完成情况对操作和备注进行添加
 * </p>
 *
 * @author beisheng
 * @since 2023-05-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class ProjectCompletionStatus implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "status_id", type = IdType.AUTO)
    private Integer statusId;

    /**
     * 关联计划id
     */
    private Integer planId;

    /**
     * 关联工单编号
     */
    private String orderNumber;

    /**
     * 项目名称
     */
    private String programName;

    /**
     * 保养部位
     */
    @TableField("Maintenance_site")
    private String maintenanceSite;

    /**
     * 保养级别
     */
    @TableField("Maintenance_level")
    private String maintenanceLevel;

    /**
     * 保养要求
     */
    @TableField("Maintenance_requirement")
    private String maintenanceRequirement;

    /**
     * 操作
     */
    private Integer operation;

    /**
     * 备注
     */
    private String statusComment;


}
